package com.yqy.spring.T1.service.impl;

import com.yqy.spring.T1.dao.IUserDao;
import com.yqy.spring.T1.dao.impl.UserDaoImplForMySQL;
import com.yqy.spring.T1.service.IUserService;

public class UserServiceImpl implements IUserService {
    /**
     * 这里是业务层
     * 收到表示层的请求，调用持久层的方法
     */
    @Override
    public void deleteUser() {
            IUserDao userDao=new UserDaoImplForMySQL();
            userDao.deleteUserById();
    }
}
